/**
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */

.playgroundContainer {
  margin-bottom: var(--ifm-leading);
  box-shadow: var(--ifm-global-shadow-lw);
  overflow: hidden;
}

.playgroundHeader {
  cursor: pointer;
  letter-spacing: 0.08rem;
  padding: 0.75rem;
  text-transform: uppercase;
  font-weight: bold;
  background: var(--ifm-color-emphasis-200);
  color: var(--ifm-color-content);
  font-size: var(--ifm-code-font-size);
}

.playgroundHeader:first-of-type {
  background: var(--ifm-color-emphasis-600);
  color: var(--ifm-color-content-inverse);
}

.playgroundEditor {
  display: none;
  transition: display .5s ease-in-out;
  font: var(--ifm-code-font-size) / var(--ifm-pre-line-height)
    var(--ifm-font-family-monospace) !important;
  /*rtl:ignore*/
  direction: ltr;
}

.playgroundEditorVisible {
  display: block;
  border-bottom: 4px solid #eee;
}

.playgroundPreview {
  padding: 1rem;
  background-color: rgb(246, 248, 250);
}
